package jp.co.toshiba.ffsa.form.csde;

import jp.co.toshiba.ffsa.form.BaseForm;

import org.seasar.struts.annotation.Arg;
import org.seasar.struts.annotation.Mask;
import org.seasar.struts.annotation.Maxlength;
import org.seasar.struts.annotation.Msg;
import org.seasar.struts.annotation.Required;

/**
 * 設計I/F - 新規プロジェクト作成 フォーム
 * @author npc
 */
public class Csde202Form extends BaseForm {
    /** プロジェクト名 */
    @Required(msg=@Msg(key="errors.required", resource=true), arg0=@Arg(key="csde202.003", resource=true))
    @Maxlength(maxlength=256, msg=@Msg(key="errors.maxlength", resource=true), arg0=@Arg(key="csde202.003", resource=true), arg1=@Arg(key="256", resource=false))
    @Mask(mask="^[a-zA-Z0-9 -/:-@\\[-\\`\\{-\\~]+$", msg=@Msg(key="errors.emcharacter", resource=true), arg0=@Arg(key="csde202.003", resource=true))
    public String projectName;
    /** プロジェクト説明 */
    @Maxlength(maxlength=1024, msg=@Msg(key="errors.maxlength", resource=true), arg0=@Arg(key="csde202.004", resource=true), arg1=@Arg(key="1024", resource=false))
    @Mask(mask="^[a-zA-Z0-9 -/:-@\\[-\\`\\{-\\~\r\n]+$", msg=@Msg(key="errors.emcharacter", resource=true), arg0=@Arg(key="csde202.004", resource=true))
    public String description;
    /** 初期セット */
    public String returnFlag;
}